<?php
	session_start();
	
	$servername = "localhost";
	$username = "root";
	$password = "root";
	$dbname = "myshop1";
		
	$conn = mysqli_connect($servername, $username, $password, $dbname);
	
	if(mysqli_connect_errno()) {
		echo "服务器连接失败" . mysqli_connect_error();
	}
	
	//mysql_quert("SET NAMES utf8");
?>